﻿
using System.Net;
namespace WebTranslator {
	static public class StartingApplicationPorts {
		public static IPAddress[] MyIpAddress = Dns.GetHostAddresses(Dns.GetHostName());
		public static IPAddress ChosenAddress;
		public const int MainServerToClients = 9000;
		public const int MainServerToTranslationServers = 9001; //up to 9001+NumberOfTranslationServers
		public const int TranslationServersToMainServer = MainServerToTranslationServers + NumberOfTranslationServers + 1;
		public const int ClientPortsFrom = 9100;
		public const int ClientPortsTo = 20000;
		public const int NumberOfTranslationServers = 2;
	}
}
